g = 130
i = "第一次"
if i:
    if g <= 120:
        print ("0")
    if g > 120 and g <= 140:
        print ("250")
    if g > 140:
        print ("1000")
else:
    if g <= 120:
        print ("0")
    if g > 120 and g <= 140:
        print ("500")
    if g > 140:
        print ("2000")